package buttons.view;

import java.awt.Color;

public class V_ToggleButton extends V_TextButton
{
  protected int toggleColor;
  protected boolean toggle;
  protected boolean over;
  
  public V_ToggleButton(String n, float xWidth, float yHeight) {
    super(n, xWidth, yHeight);
    toggleColor = bgColor;
  }
  
  public boolean getToggle() {
    return toggle;
  }
  
  public void setToggle(boolean v) {
    toggle = v;
  }
  
  public void setToggleColor(int val) {
    toggleColor = val;
  }
  
  public void setToggleColor(Color value)
  {
	  toggleColor = value.getRGB();
  }
  
  public void setOver(boolean val)
  {
    over = val;
  }
  
  public boolean getOver()
  {
    return over;
  }
}
